package com.wuwei.elearning.question.mapper;

import com.wuwei.elearning.question.domain.AudioQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wuwei
 * @since 2024-06-12
 */
public interface AudioQuestionMapper extends BaseMapper<AudioQuestion> {

    void myUpdate(@Param("fileName") String fileName, @Param("answers") String answers);

    void updateText(@Param("fileName")String fileName, @Param("text")String s);

    AudioQuestion mySelectOne(String name);

    String getTextByName(String name);
}
